61a563bbf101ff9bffdcfa70d4cdfd013c3b604e,storio-sqlite/src/test/java/com/pushtorefresh/storio/sqlite/operations/get/PreparedGetObjectTest.java,NoTypeMappingError,shouldThrowExceptionIfNoTypeMappingWasFoundWithoutAccessingDbWithRawQueryAsObservable,#,360
Before Change
testSubscriber.assertNoValues();
assertThat(testSubscriber.getOnErrorEvents().get(0))
.isInstanceOf(StorIOException.class)
.hasCauseInstanceOf(IllegalStateException.class)
.hasMessageEndingWith("This type does not have type mapping: "
+ "type = " + TestItem.class + "," +
"db was not touched by this operation, please add type mapping for this type");
After Change
assertThat(error)
.isInstanceOf(StorIOException.class)
.hasCauseInstanceOf(IllegalStateException.class)
.hasMessage("Error has occurred during Get operation. query = RawQuery{query='test query', args=[], affectsTables=[], observesTables=[]}");
assertThat(error.getCause())
.hasMessage("This type does not have type mapping: "